package com.webfinal.backsystem.dao;

import com.webfinal.backsystem.entity.Carousel;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface CarouselMapper {
    int deleteByPrimaryKey(Integer carouselId);

    int insert(Carousel record);

    Carousel selectByPrimaryKey(Integer carouselId);

    List<Carousel> selectAll();

    int updateByPrimaryKey(Carousel record);

    List<Carousel> selectByDate(Date date);
}